//
//  NSString+EliminateZero.h
//  MengLiao
//
//  Created by xiuxin on 2022/7/15.
//  Copyright © 2022 BaseBusiness. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (EliminateZero)

//   integer  必传
- (NSString *)eliminateZeroWithDouble:(NSInteger)integer;

+ (NSString*)getTimeDifferentWithNowWithTime:(NSString *)createTime;

+ (NSString*)getDateTimeWithTimeSpace:(long long)createTime;

/**
 专门为IM提供时间段服务
 @param createTime 时间戳
 @return 返回类似 时-分-秒
 */
+ (NSString*)getDateForIMTimeWithTimeSpace:(long long)createTime;

/// 返回格式化的时间字符串 YY-MM_DD
/// @param createtime 时间戳
+ (NSString *)getYYMMDDTimeWithTimeSpace:(NSInteger)createtime;

///对含有emoji表情的字符串做处理
-(NSInteger)emoji_lengthWith;
@end
